package com.miracle.basemvp.base.state;

import com.miracle.basemvp.base.IView;

import java.util.List;

/**
 * com.miracle.common.base
 * (c)2018 AIR Times Inc. All rights reserved.
 *
 *
 * @author WangJQ
 * @version 1.0
 * @date 2018/7/18 9:28
 */
public interface IPageView<R> extends IView<R> {
    /**
     * 获取当前页数
     * @return
     */
    int getCurrPage();

    /**
     * 获取页数
     * @return
     */
    int getPageSize();

    /**
     * 是否为加载更多
     * @return
     */
    boolean isLoadMore();

    void getListSucc(List<R> list);

    void loadMoreSucc(List<R> list);

}
